﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Phone_Client.Commands_Utils;
using System.Collections.ObjectModel;
using Phone_Client.Views;

namespace Phone_Client.ViewModels
{
    public class ManagementPageVM : IViewModelBase
    {
        #region Fields

        private ObservableCollection<ManagementPageItemV> _newsfeedlist;
        private ICommand _deletecmd;

        #endregion

        #region Properties

        public ObservableCollection<ManagementPageItemV> NewsFeedList
        {
            get { return _newsfeedlist; }
            set
            {
                if (_newsfeedlist == value) return;
                _newsfeedlist = value;
                RaisePropertyChanged("NewsFeedList");
            }

        }
        #endregion

        #region Commands

        public ICommand DeleteCmd
        {
            get { return _deletecmd; }
        }

        #endregion

        #region Commands Functions

        public void DeleteFunc()
        { }

        #endregion

        #region Functions

        #endregion

        #region Ctor

        public ManagementPageVM()
        {
            _newsfeedlist = new ObservableCollection<ManagementPageItemV>();
            _deletecmd = new RelayCommand(DeleteFunc) { IsEnabled = true };
        }
        #endregion
    }
}
